package com.atguigu.springcloud.alibaba.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @Author: 19shusheng.com
 * @Description:
 * @Date: Created in 11:03 2021/3/9
 * @Modified By:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order {
    private Long id;

    private Long userId;

    private Long productId;

    private Integer count;

    private BigDecimal money;
    /**
     *
     * @Description:
     *
     * @auther: madonghui
     * @date: 11:07 2021/3/9
     * @param:
     * @return: 订单状态：0：创建中；1：已完成
     *
     */
    private Integer status;
}
